﻿namespace Alkitab
{
    using Microsoft.Phone.Controls;
    using System.Windows;

    public partial class PilihKitab : PhoneApplicationPage
    {
        #region Constructors

        public PilihKitab()
        {
            InitializeComponent();
        }

        #endregion Constructors

        #region Methods

        private void gantiASV_Click(object sender, RoutedEventArgs e)
        {
            Globals.Settingan["terjemahan"] = "AmericanStandardVersion";
            Globals.versiKitab = "AmericanStandardVersion";
            MessageBox.Show("The bible will now use the 'American Standard Version' version.");
        }

        private void gantiIndonesiaSeharihari_Click(object sender, RoutedEventArgs e)
        {
            Globals.Settingan["terjemahan"] = "IndonesiaSeharihari";
            Globals.versiKitab = "IndonesiaSeharihari";
            MessageBox.Show("The bible will now use the 'Bahasa Indonesia Sehari-hari' version.");
        }

        private void gantiKJV_Click(object sender, RoutedEventArgs e)
        {
            Globals.Settingan["terjemahan"] = "KingJamesVersion";
            Globals.versiKitab = "KingJamesVersion";
            MessageBox.Show("The bible will now use the 'King James Version' version.");
        }

        private void gantiLuther_Click(object sender, RoutedEventArgs e)
        {
            Globals.Settingan["terjemahan"] = "GermanvLuther";
            Globals.versiKitab = "GermanvLuther";
            MessageBox.Show("The bible will now use the 'Luther' version.");
        }

        private void gantiTerjemahanBaru_Click(object sender, RoutedEventArgs e)
        {
            Globals.Settingan["terjemahan"] = "TerjemahanBaru";
            Globals.versiKitab = "TerjemahanBaru";
            MessageBox.Show("The bible will now use the 'Indonesia Terjemahan Baru' version.");
        }

        #endregion Methods
    }
}